<?php


namespace app\api\validate;


class IDMustBePostiveInt extends BaseValidate
{
    protected $message = [
        'id'=>'id参数必须为正整数'
    ];
    protected $rule = [
        'id' => 'require|isPostiveInt'
    ];

}